/*
 * @Author: qiulin 1746365080@qq.com
 * @Date: 2024-11-01 16:49:48
 * @LastEditors: qiulin 1746365080@qq.com
 * @LastEditTime: 2024-11-06 13:50:03
 * @FilePath: /SGSim/DataStructure/Input/PARAMETER/NLPARMData.cpp
 */

#include "NLPARMData.h"

#include "DataStructure/Common/Validation.h"
#include "DataStructure/Input/Solver/DOFDirections.h"

using SG::DataStructure::FEM::NLPARMData;

bool SG::DataStructure::FEM::operator== (const NLPARMData& val1, const NLPARMData& val2)
{
    FIELD_COMPARE (m_DT)
    FIELD_COMPARE (m_EPSU)
    FIELD_COMPARE (m_EPSP)
    FIELD_COMPARE (m_EPSW)
    FIELD_COMPARE (m_FSTRESS)
    FIELD_COMPARE (m_LSTOL)
    FIELD_COMPARE (m_MAXR)
    FIELD_COMPARE (m_RTOLB)

    FIELD_COMPARE (m_id)
    FIELD_COMPARE (m_NINC)
    FIELD_COMPARE (m_KMETHOD)
    FIELD_COMPARE (m_KSTEP)
    FIELD_COMPARE (m_MAXITER)
    FIELD_COMPARE (m_CONV)
    FIELD_COMPARE (m_INTOUT)
    FIELD_COMPARE (m_MAXDIV)
    FIELD_COMPARE (m_MAXQN)
    FIELD_COMPARE (m_MAXLS)
    FIELD_COMPARE (m_MAXBIS)
    FIELD_COMPARE (m_MINITER)
    FIELD_COMPARE (m_domainId)
    return true;
}